package com.guguju.ssms.core.http;

import java.io.Serializable;

/**
 * Created by dell on 2022-5-14.
 */
public class BaseResponse<T> implements Serializable {

    private static final long serialVersionUID = 977713990211120903L;

    /**
     * 服务器返回的code
     */
    public int code;

    /**
     * 服务器返回操作信息
     */
    public String msg;

    /**
     * 服务器返回数据信息
     */
    public T data;

    @Override
    public String toString() {
        return "BaseResponse{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }
}
